{include file="basic/header.html"}
<body>
    <div class="wrap">
        <div class="logo"></div>
        
        <div>
            <div class="sideblock_left">
            {foreach item=block from=$block_left}
            <table class="block_title">
                <tr>
                    <td>{$block.title}<td>
                </tr>
            </table>
            <table class="blocks">
                <tr>
                    <td>{$block.content}</td>
                </tr>
            </table>
            {/foreach}
            </div>
            <div class="centerblock_all">
                <div class="centerblock_left">
                {if isset($centerblock_left)}
                {foreach item=block from=$centerblock_left}
                <table class="block_title">
                    <tr>
                        <td>{$block.title}<td>
                    </tr>
                </table>
                <table class="blocks">
                    <tr>
                        <td>{$block.content}</td>
                    </tr>
                </table>
                {/foreach}
                {/if}
                </div>
                <div class="centerblock_center">
                {if isset($centerblock_center)}
                {foreach item=block from=$centerblock_center}
                <table class="block_title">
                    <tr>
                        <td>{$block.title}<td>
                    </tr>
                </table>
                <table class="blocks">
                    <tr>
                        <td>{$block.content}</td>
                    </tr>
                </table>
                {/foreach}
                {/if}
                </div>
                <div class="centerblock_right">
                {if isset($centerblock_right)}
                {foreach item=block from=$centerblock_right}
                <table class="block_title">
                    <tr>
                        <td>{$block.title}<td>
                    </tr>
                </table>
                <table class="blocks">
                    <tr>
                        <td>{$block.content}</td>
                    </tr>
                </table>
                {/foreach}
                {/if}
                </div>
                    
                <div class="contents">
                {if $contents neq ''}
                {$contents}
                {/if}
                </div>
            </div>
            <div class="sideblock_right">
            {foreach item=block from=$block_right}
            <table class="block_title">
                <tr>
                    <td>{$block.title}<td>
                </tr>
            </table>
            <table class="blocks">
                <tr>
                    <td>{$block.content}</td>
                </tr>
            </table>
            {/foreach}
            </div>
        </div>
        
        <div class="footer">
            {foreach item=block from=$block_footer}
                {if $block.title}<h2>{$block.title}</h2>{/if}
                {$block.content}
            {/foreach}
        </div>
    </div>
</body>
</html>